package com.yf.service;

import com.yf.bean.CommentBean;

import java.util.List;
import java.util.Map;

public interface CommentService {
    int addComment(CommentBean bean);
    int addReply(CommentBean bean);
    int updateLike(Integer id, Integer like);
    int updateDislike(Integer id, Integer Dislike);
    boolean opDislike(Integer id, int opType);
    boolean opLike(Integer id, int opType);
    int deleteComment(Integer id);
    int getUserUnreadMsg();
    List<CommentBean> getCommentByPid(Map<String, Object> params);
    List<CommentBean> getCommentByCid(Map<String, Object> params);
}
